package com.mright.common.util;

//常量配置
public class Const {
	public static final String SESSION_SECURITY_CODE = "sessionSecCode";	//验证码
    public static final String PAGE	= "config/PAGE.txt";					//分页条数配置路径
    public static final String SYSNAME= "config/SYSTEM.txt"; 				//系统名称路径
    public static final String LOGINEDIT = "config/LOGIN.txt";				//登录页面配置
    public static final String SESSION_USER = "sessionUser";				//会话用户
    public static final String LOGIN_PAGE = "/account/login"; 				//登陆页面
    public static final String SESSION_QX = "QX";
    public static final String SESSION_MENULIST = "menuList";				//当前菜单
    public static final String SESSION_ALL_MENULIST = "allMenuList";		//全部菜单
    public static final String SESSION_USERNAME = "USERNAME";				//用户名
    public static final String DEPARTMENT_IDS = "DEPARTMENT_IDS";			//当前用户拥有的最高部门权限集合
	public static final String DEPARTMENT_ID = "DEPARTMENT_ID";				//当前用户拥有的最高部门权限	
	public static final String NO_INTERCEPTOR_PATH = ".*/((login)|(logout)|(code)|(app)|(weixin)|(static)|(main)|(websocket)).*";	//不对匹配该值的访问路径拦截（正则

	/**
	 * APP Constants
	 */
	//系统用户注册接口_请求协议参数)
	public static final String[] SYSUSER_REGISTERED_PARAM_ARRAY = new String[]{"USERNAME","PASSWORD","NAME","EMAIL","rcode"};
	public static final String[] SYSUSER_REGISTERED_VALUE_ARRAY = new String[]{"用户名","密码","姓名","邮箱","验证码"};

	//app根据用户名获取会员信息接口_请求协议中的参数
	public static final String[] APP_GETAPPUSER_PARAM_ARRAY = new String[]{"USERNAME"};
	public static final String[] APP_GETAPPUSER_VALUE_ARRAY = new String[]{"用户名"};
}
